package com.demo.gulimall.order.feign;

import com.demo.gulimall.common.utils.R;
import com.demo.gulimall.order.vo.SpuInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Chen Yuan
 * @create 2023-06-29  9:12
 */
@FeignClient("mall-product")
public interface ProductFeignService {
	@GetMapping("/product/spuinfo/byskuid")
	public R<SpuInfoVo> getSpuInfoBySkuId(@RequestParam("skuId") Long skuId);
}
